package com.dg.dao;

import com.dg.pojo.RoleAcl;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleAclMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RoleAcl record);

    int insertSelective(RoleAcl record);

    RoleAcl selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoleAcl record);

    int updateByPrimaryKey(RoleAcl record);

    List<Integer> getAclListByRoleId(Integer roleId);

    void batchDelete(Integer roleId);

    void batchInsert(@Param("roleAclList") List<RoleAcl> roleAclList);
}